classdef TaskGenerator
    %UNTITLED3 Summary of this class goes here
    %   Detailed explanation goes here
    
    properties
        routeMatrix
        executionTimes
    end
    
    methods
        function obj = TaskGenerator(routeMatrix, executionTimes) 
            obj.routeMatrix = routeMatrix;
            obj.executionTimes = executionTimes;
        end
        
        function obj = generateTasks(generator, count)
            tasks = Task.empty(count, 0);
            for i=1:count
                tasks(i) = Task(generator.routeMatrix, generator.executionTimes);
            end
        end
    end
    
end